<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>

        .box{
            width: 500px;
            height: 500px;
            border: 5px solid rebeccapurple;
            display: flex;
            transform-style: preserve-3d;

            perspective: 800px;



        }
        .content{
            align-items: center;
            background: rebeccapurple;
            width: 200px;
            height: 200px;
            margin: auto;
            /* transform: scaleZ(-5) rotateX(45deg); */
            transform: scale3d(1,1,10) rotate(45deg);
          
        }



    </style>
</head>
<body>
    
    <div class="box">

        <div class="content">


        </div>

    </div>

</body>
</html>